<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display"%>
<%@ page contentType="text/html;charset=utf-8"%>


<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%= request.getContextPath() + "/css/bloques.css" %>"
	rel="stylesheet" type="text/css">
<link href="<%= request.getContextPath() + "/css/table.css" %>"
	rel="stylesheet" type="text/css">
<link href="../../css/jdeveloper.css" rel="stylesheet" media="screen" />

<title>Restricciones</title>


</head>
<body>



	<P align="center">&nbsp;</P>
	<form name="frmescojerrest"
		action="<%= request.getContextPath() + "/subprogramas/atributos/CrearRest.do" %>"
		method="get">
		<DIV align="center">
			<logic:empty name="ListaAtributos">
				<p align="center" class="titulosenblanco">Lista no est&aacute;
					disponible</p>
			</logic:empty>
			<logic:notEmpty name="ListaAtributos">
				<table align="center" width="200" border="1" cellspacing="1"
					cellpadding="2">
					<tr>
						<td width="17%" class="titulosenblanco" align="center"><STRONG>Atributo</STRONG>
						</td>
						<td class="titulosenblanco" align="center" width="20%"><STRONG>Restriccion</STRONG>
						</td>
					</tr>
					<% 
          int i=0;
  %>
					<logic:iterate id="listaatri" name="ListaAtributos"
						type="co.gov.medellin.ssti.sub.model.vo.AtributoVO">
						<tr>
							<td align="center" width="17%"><font class="celdatabla"><b>
										<bean:write name="listaatri" property="etiqueta" />
								</b> </font></td>

							<td align="center">
								<%
      String Ruta = request.getContextPath()+"/subprogramas/atributos/CrearRest.do";
  %> <html:link href="<%=Ruta%>" paramId="codatributo"
									paramName="listaatri" paramProperty="codigo">
									<img border="0"
										src="<%=request.getContextPath()+"/images/b_nuevo.gif"%>"
										alt="Ingresar Restriccion" />
								</html:link>
							</td>

							</td>
						</tr>
						<%         i++;%>
					</logic:iterate>
				</table>
			</logic:notEmpty>
		</DIV>


		<DIV align="center">
			<P>&nbsp;</P>
			<P>
				<a href="javascript:window.history.back()"> <img
					src="<%=request.getContextPath() + "/images/b_atras.gif"%>"
					border="0" />
				</a> <input type="SUBMIT" value="Aceptar" />
			</P>
		</DIV>
		</DIV>


	</form>


</body>
</html>
